package reflect;

import java.util.Arrays;

public class ArgDemo {
    public static void main(String[] args) {
       doSome();
       doSome("a","b","c");
       // doSome(new String[] {  "a","b","c","d","...."   }) 这是编译器给自动修该的模式
       doSome("a","b","c","d","....");






    }
  public static void doSome(String... s){
        // String[] s     三个点表示数组
      System.out.println(s.length);
      System.out.println(Arrays.toString(s));
  }
}
